@charset "utf-8";

body{
    display: flex;
    flex-direction: column;
    background-color: #00172f;
}
/* 头部 */
header{
    position: relative;
}
header img{
    width: 100%;
}
header i{
    position: absolute;
    top: 20px;
    left: 20px;
    color: #fff;
}

/* 主体内容 */
main{
    flex: 1;
    overflow-y: auto;
}
main .list li{
    display: flex;
    justify-content: space-between;
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
    border-radius: 8px;
    background: linear-gradient(to bottom,#fefefe,#fffaec);
}
main .list li .pic{
    width: 34%;
    text-align: center;
    position: relative;
}
main .list li .pic span{
    position: absolute;
    top: -11px;
    left: -2px;
    background: #363023;
    width: 24px;
    height: 22px;
    color: #fff;
}
main .list li .pic span::after{
    content: "";
    border: 12px solid rgba(0,0,0,0);
    border-top: 8px solid #363023;
    position: absolute;
    left: 0;
    top: 21px;

}
main .list li .pic img{
    width: 120%;
}
main .list li .content{
    width: 65%;
}
main .list li .content h4{
    font-weight: 550;
    font-size: 16px;
}
main .list .content .msg{
    padding: 0 3px;
    margin: 6px 0;
    font-size: 14px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: #7e5429;
    border: 0.5px solid #7e5429;
    border-radius: 3px;
}
main .list .content .tag{
    font-size: 14px;
    background: #fdecda;
    display: inline-block;
    padding-right: 20px;
    border-radius: 3px;
    line-height: 20px;
}
main .list .content .tag span{
    color: #fdecda;
    background: linear-gradient(to right,#c3976a,#e3b78b);
    padding: 0 10px;
    margin-right: 10px;
   
    border-radius: 3px 3px 10px 3px;
}
main .list .content .price{   
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px; 
}
main .list .content .price p{
    color: #e02a2e;
    font-size: 18px;
    font-weight: bold;
}
main .list .content .price p span{
    margin-left: 10px;
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
    font-weight: normal; 
}
main .list .content .price>span{
    background-color: #d2928e;
    color: #fff;
    padding: 0 4px;
    font-size: 12px;
    border-radius: 3px;
    height: 18px;
}